package com.junmeng.jdemo.recycler.chat.contextmenu.base;

import android.view.View;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

public interface MenuListener<MenuInfo,UserData> {

    /**
     * 菜单点击
     * @param view
     * @param menuInfo 菜单
     * @param userData 用户携带的数据
     */
    void onMenuClick(@Nullable View view, @NonNull MenuInfo menuInfo, @Nullable UserData userData);
}
